package com.spider.admin.conf;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Getter
@Setter
public class ENVConf {

    @Value("${jwt.secret}")
    private String secret;
    @Value("${jwt.expiration}")
    private Long expiration;
    @Value("${server.manager.client.id}")
    private String clientId;
    @Value("${server.manager.domain}")
    private String webDomain;
    @Value("${server.port}")
    private Integer serverPort;
    @Value("${agent.server.port}")
    private Integer agentRunPort;
    @Value("${ui.server.port}")
    private Integer uiRunPort;

    @Value("${server.servlet.context-path}")
    private String serverContextPath;

    @Value("${ui.container.base.path}")
    private String uiContainerBasePath;

    @Value("${web.page.directory}")
    private String webDirectory;
}

